

function getBlacklists(){
	$.ajax({
		url:"add.action",
		type:"post",
		async:true,
		dataType:"json",
		contentType:"application/x-www-form-urlencoded;charset=utf-8",//设置字符集和格式
		data:{
			"customerinfoEntity.customerName":$("#input2").val(),
			"customerinfoEntity.gender":$(':radio[name="sex"]:checked').val(),
			"customerinfoEntity.tel":$("#input3").val(),
			"customerinfoEntity.UID":$("#input4").val(),
			"customerinfoEntity.address":$("#input5").val(),
			"customerinfoEntity.customerWork":$("#input6").val(),	
			"customerinfoEntity.customerType":$("#select3 option:selected").text(),
			"customerinfoEntity.discredit":$(':radio[name="yes"]:checked').val(),
			"customerinfoEntity.litigation":$(':radio[name="no"]:checked').val(),
			"customerinfoEntity.monthlyIncome":$("#input8").val(),	
			"customerinfoEntity.bankId":$("#select1 option:selected").val(),
			"customerinfoEntity.goodsId":$("#select2 option:selected").val(),
			"customerinfoEntity.customerState":$("#select4 option:selected").text(),
		},//参数
		success: function(data){
			alert("提交成功")
			loadPage('customerManager/manage.html');
		}
		
	})
}